package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 手机用户信息明细对象 sys_app_user
 * 
 * @author ruoyi
 * @date 2020-10-18
 */
public class SysAppUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户真实姓名 */
    @Excel(name = "用户真实姓名")
    private String userRealName;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 性别（0、女；1、男） */
    @Excel(name = "性别", readConverterExp = "0=、女；1、男")
    private Integer gender;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String userPhone;

    /** $column.columnComment */
    @Excel(name = "用户手机号")
    private String openId;

    /** $column.columnComment */
    @Excel(name = "用户手机号")
    private String unionid;

    /** 语言 */
    @Excel(name = "语言")
    private String language;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 国家 */
    @Excel(name = "国家")
    private String country;

    /** 头像 */
    @Excel(name = "头像")
    private String avatarUrl;
    
    private String birthDate;
    
    private String address;
    
    private String remark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserRealName(String userRealName) 
    {
        this.userRealName = userRealName;
    }

    public String getUserRealName() 
    {
        return userRealName;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setGender(Integer gender) 
    {
        this.gender = gender;
    }

    public Integer getGender() 
    {
        return gender;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setUnionid(String unionid) 
    {
        this.unionid = unionid;
    }

    public String getUnionid() 
    {
        return unionid;
    }
    public void setLanguage(String language) 
    {
        this.language = language;
    }

    public String getLanguage() 
    {
        return language;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCountry(String country) 
    {
        this.country = country;
    }

    public String getCountry() 
    {
        return country;
    }
    public void setAvatarUrl(String avatarUrl) 
    {
        this.avatarUrl = avatarUrl;
    }

    public String getAvatarUrl() 
    {
        return avatarUrl;
    }

    public String getBirthDate() {
		return birthDate;
	}

	public void setBirthDate(String birthDate) {
		this.birthDate = birthDate;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userRealName", getUserRealName())
            .append("nickName", getNickName())
            .append("gender", getGender())
            .append("userPhone", getUserPhone())
            .append("openId", getOpenId())
            .append("unionid", getUnionid())
            .append("createTime", getCreateTime())
            .append("language", getLanguage())
            .append("city", getCity())
            .append("province", getProvince())
            .append("country", getCountry())
            .append("avatarUrl", getAvatarUrl())
            .append("birthDate", getBirthDate())
            .append("address", getAddress())
            .append("remark", getRemark())
            .toString();
    }
}
